<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 200px;
            height: 200px;
            border: 1px solid red;
            /* 上右下左顺序设置 padding */
            padding: 20px 40px 100px;
        }
        
    </style>
</head>
<body>
    
    <div>
        内容和边框的距离
    </div>
</body>
</html>